package com.example.produces.mapper;

import com.example.produces.entity.Owarehouse;
import com.example.produces.entity.Pay;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository//数据访问层 (DAO 层 ) 的类标识为bean
public interface PayMapper {
    List<Pay> findAll();
    void add(Pay pay);
    Pay findOne(String retainage);
    void upDate(Pay pay);
    void delete(String retainage);
}
